package cn.bb.bbstudy.dao;

import cn.bb.bbstudy.pojo.Download;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DownloadDAO {
    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(Download record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(Download record);

    List<Download> selectAllDesc();
}